const express = require('express')

const app = express()

app.get('/',(req,res)=> {
    //req 可以获得get传过来的参数
    console.log(req.query)
    console.log(req)
    res.send(req.query)
})

app.listen(8000,()=>{
    console.log('8000 run')
})